import request from './http'

// 热门速递
// https://apis.netstart.cn/bcomic/GetClassPageLayout?tabId=17
export function gethotListsData(num) {
    return request({
        url: '/bcomic/GetHomeSecondaryComics',
        method: 'get',
        data: { 'moduleId': 1012, 'pageNum': num, 'pageSize': 6 }
    })
}

// https://apis.netstart.cn/bcomic/GetHomeSecondaryComics?moduleId=1018&pageNum=1&pageSize=9
export function getNewListsdData() {
    return request({
        url: `/bcomic/GetHomeSecondaryComics`,
        method: 'get',
        data: { 'moduleId': 1018, 'pageNum': 1, 'pageSize': 9 }
    })
}

// https://apis.netstart.cn/bcomic/GetHomeSecondaryComics?moduleId=1065&pageNum=${num}&pageSize=6
export function getOneListsdData(num) {
    return request({
        url: `/bcomic/GetHomeSecondaryComics`,
        method: 'get',
        data: { 'moduleId': 1065, 'pageNum': num, 'pageSize': 6 }
    })
}